package com.woniuxy.service.daily;


import java.util.List;

import com.github.pagehelper.PageInfo;
import com.woniuxy.pojo.Accident;
import com.woniuxy.pojo.Driver;

public interface AccidentService {
	PageInfo selectAll(Integer dr_pn,String dr_conditionBy,String dr_condition);
		
	Accident selectById(Integer id);

	void addAccident(Accident driver);
	
	void updateAccident(Accident driver);
	
	void deleteByAccidentId(Integer driverId);
	
	int batchDelete(Integer[] driverIds);

	List<String> selectAllAccidentName();
}
